<link href="/html/yui/build/reset-fonts-grids/reset-fonts-grids.css"
	rel="stylesheet" type="text/css" />
<?
$this->headTitle ( '首页' );
$this->headStyle()->captureStart() ?>
<?php $this->headStyle()->captureEnd() ?>
<style type="text/css">
<!--
#pic_item {
	height: 135px;
	margin-top: 10px;
	overflow: hidden;
}
#pic_item dl {
	float: left;
	width: 151px;
	display: inline;
}
.border1 h3 {
	background-color: #F4F5F5;
	border-bottom: 1px solid #99BDDB;
	text-align: left;
	height: 1.5em;
	line-height: 1.5em;
	font-weight: 700;
	text-indent: 1em;
}
.Keshi #bb {
	position: absolute;
	width: 158px;
	bottom: -1px !important;
	bottom: -1px;
}
#pic_item div {
	float: left;
	margin:10px;
	-margin:10px 5px;
}
-->
</style>
<div id="widget">
  <h3 id="navigation">二附网上导航:<a
	onclick='$("#widget").animate({ left: "-638px"}, 2000, "bounceout")'>关闭</a></h3>
  <div>
    <ul>
      <h2>医疗科室:</h2>
      <?php foreach ($this->ke_array_xingzheng as $v):?>
      <li><a
		href="<?=$this->url(array('action'=>'section','id'=>$v['id']))?>">
        <?=$v['kename'] ?>
        </a></li>
      <? endforeach; ?>
    </ul>
    <ul>
      <h2>行政科室:</h2>
      <?php foreach ($this->ke_array_yiliao as $v):?>
      <li><a
		href="<?=$this->url(array('action'=>'section','id'=>$v['id']))?>">
        <?=$v['kename'] ?>
        </a></li>
      <? endforeach; ?>
    </ul>
    <ul>
      <h2>后勤科室:</h2>
      <?php foreach ($this->ke_array_houqin as $v):?>
      <li><a
		href="<?=$this->url(array('action'=>'section','id'=>$v['id']))?>">
        <?=$v['kename'] ?>
        </a></li>
      <? endforeach; ?>
    </ul>
  </div>
</div>
<div id="rightframe" style="">
  <div class="indexphoto">
    <div class="border1">
      <ul class="Keshi">
        <li><a class="selected">医疗科室</a>
          <ul>
            <?foreach ($this->xingzheng as $k => $v) {?>
            <li>
              <?=$this->a($v['kename'],$this->url(array('action'=>'section','id'=>$v['id']))) ?>
              <span>
              <?='('.$this->xingzheng[$k]['article_amount'].')' ?>
              </span></li>
            <?} ?>
          </ul>
        </li>
        <li id="bb"
		style="position: absolute; width: 158px; bottom: -1px !important; bottom: -1px;"><a style="border-top: 1px solid #99BDDB;">行政科室</a>
          <ul style="display: none">
            <?foreach ($this->yiliao as $k => $v) {?>
            <li>
              <?=$this->a($v['kename'],$this->url(array('action'=>'section','id'=>$v['id']))) ?>
              <span>
              <?="(".$this->yiliao[$k]['article_amount'].")" ?>
              </span></li>
            <?} ?>
          </ul>
        </li>
      </ul>
    </div>
  </div>
  <div class="border1" style="padding: 1px; border-top-width: 0">
    <h1
	style="background: #FFB500; margin: 0; font-size: 12px; border: 1px solid #CB8100"><a
	style="color: #000; display: block; height: 1.5em; line-height: 1.5em; text-align: center; cursor: pointer"
	onclick='$("#widget").animate({ left: "0"}, 2000, "bounceout");'><strong style=" font-weight:700">查看全部科室</strong></a></h1>
  </div>
  <div class="border1" style="height:266px; margin-top:10px">
    <h3>滚动新闻</h3>
    <div class="jd_news_scroll" id="elm2">
      <ul>
        <? for ($i=0;$i<count($this->gun)/3;$i++) : ?>
        <li><a
		href="<?=$this->url(array('controller'=>'article','id'=>$this->gun[$i*3+$j]['id'])) ?>">
          <?=$this->sub($this->gun[$i*3+$j]['news_title'],20, false) ?>
          </a></li>
        <? endfor; ?>
      </ul>
    </div>
  </div>
</div>
<div style="background-color: $ #FF0000; width: 780px; float: right; overflow: hidden;">
  <div id="mainframe">
    <div class="border1"
	style="height: 198px; padding: 1px; margin-bottom: 10px">
      <script
	type="text/javascript">
                  AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','100%','height','100%','src','/html/flash/bcastr?bcastr_xml_url=<?=$this->url(array('controller'=>'widget','action'=>'flash'))?>','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','transparent','movie','/html/flash/bcastr?bcastr_xml_url=<?=$this->url(array('controller'=>'widget','action'=>'flash','BaseUrl'=>'123'))?>' ); //end AC code
        </script>
      <noscript>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
	codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
	width="100%" height="100%">
        <param name="movie"
		value="/html/flash/bcastr.swf?bcastr_xml_url=<?=$this->url(array('controller'=>'widget','action'=>'flash','BaseUrl'=>'123'))?>" />
        <param name="quality" value="high" />
        <embed
		src="/html/flash/bcastr.swf?bcastr_xml_url=<?=$this->url(array('controller'=>'widget','action'=>'flash'))?>"
		quality="high"
		pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
		type="application/x-shockwave-flash" width="100%" height="100%"></embed>
      </object>
      </noscript>
    </div>
    <div class="border1" style="background: #f7fafe; overflow:hidden">
      <ul class="newslist">
        <?foreach ($this->news_hot_list as $k => $v) {?>
        <li>
          <?=$this->a($v['kename'],$this->url(array('action'=>'section','id'=>$v['section_id']))) ?>
          <?=$this->a($v['lname'],"column.php?id=".$v['column_id'] ) ?>
          <?=$this->a($this->sub($v['news_title'],26),"/index.php/article/index/id/".$v['id'] ) ?>
          <span class="time">(
          <?=date('m-d',$v['time']) ?>
          , V:
          <?=$v['news_view'] ?>
          ) </span></li>
        <?} ?>
      </ul>
    </div>
  </div>
  <div id="leftframe">
    <div class="border1"
	style="background: url(/html/images/pa_hd_bg_1.gif); padding: 10px">
      <!--before login-->
      <div class="login" style="">
        <form method="post"
	action="<?=$this->url( array('controller'=>'Login' , 'module'=>'admin'))?>"
	name="login_form">
          <span class="item"
	style="display: block; text-align: left; clear: both; height: 2em">
          <label> 用户名 </label>
          <input type="text" id="userName" class="inp" size="15"
	name="userName" style="color: rgb(143, 154, 160);" />
          </span><span
	class="item" style="clear: both; text-align: left; display: block">
          <label> 密<span style="margin-left: 1em">码</span></label>
          <input type="password"
	class="inp" size="15" name="passWord"
	style="color: rgb(143, 154, 160); margin-right: 0.5em" id="passWord" />
          <button tabindex="6" type="submit" class="bn_login"><strong>登录</strong></button>
          <a target="_blank" href="#">忘记密码?</a></span>
        </form>
      </div>
      <!--//before login-->
      <div class="hack"></div>
    </div>
    <div class="border1" style="margin:10px 0">
      <h3>二附视频</h3>
      <div style="margin:10px">
        <object type="application/x-shockwave-flash"
 data="/html/flash/vcastr3.swf?xml=<vcastr>
	<channel>
		<item>
			<source>/html/flash/18252902.flv</source>
			<duration></duration>
			<title></title>
		</item>
	</channel><config>
                <bufferTime>4</bufferTime>
                <controlPanelBgColor>0x3B65CB</controlPanelBgColor>
                <controlPanelBtnColor>0xffffff</controlPanelBtnColor>
                <contralPanelBtnGlowColro>0xffff00</contralPanelBtnGlowColro>
                <controlPanelMode>float</controlPanelMode>
                <defautVolume>0.8</defautVolume>
                <isAutoPlay>false</isAutoPlay>
                <isLoadBegin>true</isLoadBegin>
                <isShowAbout>true</isShowAbout>
        </config>
 </vcastr>"
 width="100%" height="240" id="vcastr3">
          <param name="movie" value="/html/flash/vcastr3.swf?xml=<vcastr>
	<channel>
		<item>
			<source>/html/flash/18252902.flv</source>
			<duration></duration>
			<title></title>
		</item>
	</channel><config>
                <bufferTime>4</bufferTime>
                <controlPanelBgColor>0x3B65CB</controlPanelBgColor>
                <controlPanelBtnColor>0xffffff</controlPanelBtnColor>
                <contralPanelBtnGlowColro>0xffff00</contralPanelBtnGlowColro>
                <controlPanelMode>float</controlPanelMode>
                <defautVolume>0.8</defautVolume>
                <isAutoPlay>false</isAutoPlay>
                <isLoadBegin>true</isLoadBegin>
                <isShowAbout>true</isShowAbout>
        </config>
 </vcastr>" />
          <param name="allowFullScreen" value="true" />
        </object>
      </div>
    </div>
    <div id="demo" class="yui-navset" style="margin: 10px 0">
      <ul class="yui-nav">
        <li class="selected ere"><a href="#tab1"><em>
          <?=$this->item0[0]['kename'] ?>
          </em></a></li>
      </ul>
      <div class="yui-content border2 hive01">
        <div id="tab1">
          <?= $this->action('itemNews', 'widget', null, array('where' => $this->item0[0]['id'])); ?>
        </div>
      </div>
    </div>
    <div id="demo2" class="yui-navset">
      <ul class="yui-nav">
        <li class="selected"><a href="#tab5"><em>
          <?=$this->item1[0]['kename'] ?>
          </em></a></li>
      </ul>
      <div class="yui-content border2 hive01">
        <div id="tab5">
          <?= $this->action('itemNews', 'widget', null, array('where' => $this->item1[0]['id'])); ?>
        </div>
      </div>
    </div>
  </div>
  <div class="hack"></div>
  <div id="pic_item" class="border1">
    <h3>图片</h3>
    <div>
      <? foreach ($this->item_pic as $v) : ?>
      <dl>
        <dt><img src="<?=$this->url(array('controller'=>'pic','action'=>'view','id'=>$v['id'],'s'=>140,'h'=>76)) ?>" width="140" height="76" /></dt>
        <dd>图片说明</dd>
      </dl>
      <? endforeach; ?>
    </div>
  </div>
</div>
<script>
	function myTabView() {
        var tabView = new YAHOO.widget.TabView('demo');
     
        tabView.addTab( new YAHOO.widget.Tab({
            label: '<?=$this->item0[1]['kename'] ?>',
            dataSrc: '/index.php/widget/itemNews/id/<?=$this->item0[1]['id'] ?>',
            cacheData: true
        }));
    
        tabView.addTab( new YAHOO.widget.Tab({
            label: '<?=$this->item0[2]['kename'] ?>',
            dataSrc: '/index.php/widget/itemNews/id/<?=$this->item0[2]['id'] ?>',
            cacheData: true
        }));
    
        tabView.addTab( new YAHOO.widget.Tab({
            label: '<?=$this->item0[3]['kename'] ?>',
            dataSrc: '/index.php/widget/itemNews/id/<?=$this->item0[3]['id'] ?>',
            cacheData: true
        }));
    	
    	
        var tabView1 = new YAHOO.widget.TabView('demo2');
        
        tabView1.addTab( new YAHOO.widget.Tab({
            label: '<?=$this->item1[1]['kename'] ?>',
            dataSrc: '/index.php/widget/itemNews/id/<?=$this->item1[1]['id'] ?>',
            cacheData: true
        }),5);
    
        tabView1.addTab( new YAHOO.widget.Tab({
            label: '<?=$this->item1[2]['kename'] ?>',
            dataSrc: '/index.php/widget/itemNews/id/<?=$this->item1[2]['id'] ?>',
            cacheData: true
        }),3);
    
        tabView1.addTab( new YAHOO.widget.Tab({
            label: '<?=$this->item1[3]['kename'] ?>',
            dataSrc: '/index.php/widget/itemNews/id/<?=$this->item1[3]['id'] ?>',
            cacheData: true
        }),6);
    };
</script>
